export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "业务编号",
      "prop": "bizId",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      showColumn: false,
      hide: true,
      "span": 12
    },	  {
      "type": "input",
      "label": "申请工单",
      "prop": "billId",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "单号",
      "prop": "no",
      "span": 5,
      search: true,
      width: 100 
    },	  {
      "type": "input",
      "label": "业务标题",
      "prop": "title",
      width: 300,
      search: true,
      "span": 12
    },	  {
      "type": "input",
      "label": "缘由",
      "prop": "reason",
      hide: true,
      "span": 12
    },	  {
      "type": "input",
      "label": "类别",
      slot: true,
      "prop": "categoryId",
      "span": 12
    },	  {
      "type": "input",
      "label": "编号",
      "prop": "modelId",
      "span": 12,
      showColumn: false,
      hide: true,
    },	  {
      "type": "input",
      "label": "名称",
      "prop": "name",
      "span": 12
    },	  {
      "type": "input",
      "label": "规格",
      "prop": "spec",
      hide: true,
      "span": 12
    },	  {
      "type": "input",
      "label": "单位",
      "prop": "unit",
      hide: true,
      "span": 12
    },	  {
      "type": "input",
      "label": "来源",
      "prop": "source",
      dicUrl: '/admin/dict/type/asset_source',
      hide: true,
      "span": 12
    },	  {
      "type": "input",
      "label": "购入日期",
      "prop": "buyDate",
      hide: true,
      "span": 12
    },	  {
      "type": "input",
      "label": "金额",
      "prop": "price",
      hide: true,
      "span": 12
    },	  {
      "type": "select",
      "label": "区域",
      "prop": "areaId",
      dicUrl: '/admin/sysarea/page?size=-1',
      props: {
        label: 'name',
        value:'areaId',
        res: "data.records"
      },
      "span": 12
    },	  {
      "type": "input",
      "label": "存放地点",
      "prop": "address",
      "span": 12
    },	  {
      "type": "input",
      "label": "使用期限（月）",
      "prop": "timeLimit",
      hide: true,
      "span": 12
    },	  {
      type: 'upload',
      span: 24,
      loadText: '附件上传中，请稍等',
      listType:'picture-img',
      accept: ["image/png","image/jpeg","image/jpg"],
      tip: '只能上传jpg，png图片不超过20MB',
      fileSize: 20480,
      propsHttp: {
          res: 'data'
      },
      canvasOption: {
        text: ' ',
        ratio: 0.1
      },
      hide: true,
      action: "/act/file/upload",
      "label": "图片",
      "prop": "cover"
    },	  {
      "type": "select",
      "label": "业务状态",
      "prop": "bizStatus",
      hide: true,
      dicUrl: '/admin/dict/type/bill_account_status',
      "span": 12
    },	  {
      "type": "select",
      "label": "审批状态",
      search: true,
      "prop": "status",
      dicUrl: '/admin/dict/type/bill_status',
      "span": 12
    },	  {
      "type": "input",
      "label": "申请人名称",
      "prop": "createRealname",
      width: 100,
      "span": 12
    },	  {
      "type": "input",
      "label": "经办人",
      "prop": "handleRealname",
      width: 100,
      "span": 12
    },	  {
      "type": "input",
      "label": "申请时间",
      "prop": "createTime",
      "span": 12
    },{
      label: "日期范围",
      prop: "dateRange",
      type: "date",
      searchSpan: 12,
      searchRange: true,
      search: true,
      hide: true,
      display: false,
      valueFormat: "yyyy-MM-dd",
      showColumn: false,
  }  ]
}
